package mydate;

import java.util.Calendar;

import date.Date;

public class TestMyDate {

	public static void main(String[] args) {

		MyDate myDate = new MyDate(2016, 9, 16);
		// 4
		// System.out.println(myDate.nextDay());
		// System.out.println(myDate.isLeepYear());
		// System.out.println(myDate.nextMonth());
		// System.out.println(myDate.nextYear());
		int i = myDate.getDayOfWeek();
		System.out.println(myDate);
		System.out.println(i);
		System.out.println(myDate.isValidDate());
		
		// Date date = new Date(17, 9, 2016);
		// Calendar calendar = Calendar.getInstance();
		// calendar.set(2016, 9, 17, 12, 23, 23);
		// System.out.println(calendar.DAY_OF_WEEK);
		// System.out.println(calendar.getTime());
	}
}
